<div align="center" style="margin:-20px 0px 0px 0px;">
<ul class="thumbs">
<?php 

foreach($photos as $photo)
{
?>
<li class="ui-corner-all ui-state-default">
	<a href="#photo/loadPhoto/id/<?php echo $photo->getPhotoId();?>"><img style="margin-top: 5px; border: 0;" src="/core.php/photo/thumbnail/id/<?php echo $photo->getPhotoId();?>/type/mini"/></a>
</li>
<?php
}
?>

</ul>
</div>